@namespace Microsoft.FluentUI.AspNetCore.Components
@inherits FluentComponentBase
<fluent-anchor @ref=Element
               id=@Id
			   class=@Class
			   style=@Style
			   download=@Download
			   href=@Href
			   hreflang=@Hreflang
			   ping=@Ping
			   referrerpolicy=@Referrerpolicy
			   rel=@Rel
			   target=@Target
			   type=@Type
			   appearance=@Appearance.ToAttributeValue()
			   @onclick=OnClickAsync 
			   @onclick:preventDefault=@_preventDefault
			   @attributes=@AdditionalAttributes>
	@if (IconStart != null)
	{
		<FluentIcon Value="@IconStart" Slot="@(ChildContent != null ? "start" : null)" />
	}
	@ChildContent
	@if (IconEnd != null)
	{
		<FluentIcon Value="@IconEnd" Slot="@(ChildContent != null ? "end" : null)" />
	}
</fluent-anchor>
